Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore mutation events from within atoms #362

Merged
merged 1 commit into from
Apr 19, 2016

Conversation

bantic
Copy link
Collaborator

@bantic bantic commented Apr 19, 2016

ember-mobiledoc-editor uses ember-wormhole to insert components into
atom placeholders. This immediately causes a mutation and then
the editor update is triggered when nothing has changed.

Atoms are their own world and so any changes in them should be safe
to ignore.

Delegates the mutation-reparsing logic to RenderNodes.

ember-mobiledoc-editor uses ember-wormhole to insert components into
atom placeholders. This immediately causes a mutation and then
the editor update is triggered when nothing has changed.

Atoms are their own world and so any changes in them should be safe
to ignore.

Delegates the mutation-reparsing logic to RenderNodes.
@bantic bantic force-pushed the ignore-atom-mutations-via-render-nodes branch from 286fe07 to 8aac800 Compare April 19, 2016 16:00
@bantic
Copy link
Collaborator Author

bantic commented Apr 19, 2016

This adds the final touches to #343. Thanks @rlivsey !

@bantic bantic merged commit 242a4f5 into master Apr 19, 2016
@bantic bantic deleted the ignore-atom-mutations-via-render-nodes branch April 19, 2016 16:12
@bantic
Copy link
Collaborator Author

bantic commented Apr 20, 2016

released in v0.9.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants